home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
amok_lha
/
amok20.lha
/
ComplexLib
/
txt
/
LongMathLibExt.def
< prev
next >
Wrap
Text File
|
1993-08-15
|
2KB
|
68 lines
(*********************************************************************
:Program. LongMathLibExt.def
:Author. Gary Struhlik
:Address. -
:Phone. -
:shortcut. [gs]
:Version. 1.0
:Date. 06.10.1988
:Copyright. PD
:Language. Modula-II
:Translator. M2Amiga
:Imports. -
:UpDate. -
:Contents. Zusätzliche mathematische Funktionen
:Remark. Für den Amiga Modula-2 Klub / Stuttgart
:Remark. Am 01.01.1989 mit M2Amiga 3.2d neu kompiliert
**********************************************************************)
DEFINITION MODULE LongMathLibExt; (* für Datentyp LONGREAL *)
CONST
ln10 = 2.302585092994045;
pi = 3.141592653589793;
e = 2.718281828459045;
ln2 = 0.693147180559945;
PROCEDURE round ( x : LONGREAL ) : LONGINT;
PROCEDURE sqr ( x : LONGREAL ) : LONGREAL;
PROCEDURE tan ( x : LONGREAL ) : LONGREAL;
PROCEDURE arcsin ( x : LONGREAL ) : LONGREAL;
PROCEDURE arccos ( x : LONGREAL ) : LONGREAL;
PROCEDURE sinh ( x : LONGREAL ) : LONGREAL;
PROCEDURE cosh ( x : LONGREAL ) : LONGREAL;
PROCEDURE tanh ( x : LONGREAL ) : LONGREAL;
PROCEDURE log ( x : LONGREAL ) : LONGREAL;
PROCEDURE PwrOfTen ( x : LONGREAL ) : LONGREAL;
PROCEDURE lb ( x : LONGREAL ) : LONGREAL;
PROCEDURE PwrOfTwo ( x : LONGREAL ) : LONGREAL;
PROCEDURE arsinh ( x : LONGREAL ) : LONGREAL;
PROCEDURE arcosh ( x : LONGREAL ) : LONGREAL;
PROCEDURE artanh ( x : LONGREAL ) : LONGREAL;
PROCEDURE power ( x,y : LONGREAL ) : LONGREAL; (* x^y *)
PROCEDURE fact ( x : LONGREAL ) : LONGREAL; (* Fakultät *)
PROCEDURE sgn ( x : LONGREAL ) : LONGREAL;
(* Vorzeichen -1.0, 0.0 oder +1.0 *)
END LongMathLibExt.